package com.cs.pk.clearcase;

import java.util.ArrayList;

import com.cs.pk.clearcase.interfaces.IActivity;
import com.cs.pk.clearcase.interfaces.IFile;
import com.cs.pk.clearcase.interfaces.IView;

public class CCActivity implements IActivity {
	
	private String tag = null;
	private IView parent = null;
	
	public CCActivity() {
		
	}
	
	public CCActivity(IView parent, String tag) {
		this.tag = tag;
		this.parent = parent;
	}

	public ArrayList getFileList() {
		return children;
	}

	public IView getView() {
		return parent;
	}

	public void registerFile(IFile icc) {
		children.add(icc);
	}

	public String getName() {
		return tag;
	}

	public String getPath() {
		return getView().getPath();
	}

	public String[] getCCCommand() {
		
		return null;
	}

}
